<template>
  <div>
    <!-- <div style="width: 200px; margin-bottom: 10px">
      <td-number :errMsg="errMsg" v-model="a"></td-number>
    </div>
    <div style="width: 200px; margin-bottom: 10px">
      <td-number :errMsg="errMsg1"></td-number>
    </div>
    <div style="width: 200px">
      <td-number :errMsg="errMsg"></td-number>
    </div>
    <div style="width: 200px">
      <td-string :minLength="4"></td-string>
    </div> -->
    <div style="width: 200px">
      <td-select
        :options="selectList"
        v-model="selectVlue"
      ></td-select>
    </div>
  </div>
</template>
<script>
import tdNumber from "@/components/TdNumber";
import TdString from "@/components/TdString";
import TdSelect from "@/components/TdSelectForZzs";
export default {
  data() {
    return {
      errMsg: ["错误"],
      selectVlue: {},
      selectList: [
        {
          key: "1",
          label: "name1",
          sex: "男",
        },
        {
          key: "2",
          label: "name2",
          sex: "nv",
        },
        {
          key: "3",
          label: "name3",
          sex: "男",
        },
        {
          key: "4",
          label: "name4",
          sex: "男",
        },
      ],
      a: 1,
      errMsg1: [
        "当本行期初余额、本期发生额、本期应抵减税额、本期实际抵减税额、期末余额 其中一项有不等于0时，减税性质代码及名称不可空",
      ],
    };
  },
  components: {
    tdNumber,
    TdString,
    TdSelect,
  },
};
</script>
<style scoped>
.red {
  color: red;
  margin-top: 10px;
}
</style>